﻿using System;
using System.Collections.Generic;

namespace Sustainalytics.Entities.RiskRatings
{
    public class RiskRatingHistoricalData
    {
        public Guid Id { get; set; }

        public DateTime Date { get; set; }
        public Guid CompanyId { get; set; }

        public double UnmanagedRisk { get; set; }
        public double Management { get; set; }
        public double Exposure { get; set; }
        public double ManagedRisk { get; set; }

        public IList<RiskRatingMaterialEsgIssueBaseHistoricalData> MaterialEsgIssues { get; set; }

        public double UniversePercentile { get; set; }

    }

    public class RiskRatingMaterialEsgIssueBaseHistoricalData
    {
        public int ExternalId { get; set; }
        public string MeiCode { get; set; }

        public double UnmanagedRisk { get; set; }
        public double Management { get; set; }
        public double Exposure { get; set; }
        public double ManagedRisk { get; set; }
    }

}
